﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nest;

namespace ElasticSearch.Tests.ESEntities
{
    public class Company
    {
        public Guid Id { get; set; }

        [ElasticProperty(OmitNorms = true, Index = FieldIndexOption.NotAnalyzed, AddSortField=true)]
        public string Name { get; set; }


        [ElasticProperty(OmitNorms = true, Index = FieldIndexOption.Analyzed, AddSortField = false)]
        public string WordifiedName { get; set; }
    }
}
